package charpter12.lynx;

public class Twentythree {
	public Twentythree() throws ConstructionException {

	}
	
	public void dispose(){
		System.out.println("Twentythree得到释放了");
	}
	
	public static void main(String[] args) {
		try {
			Twentythree twentythree = new Twentythree();
			try {
				Twentytwo twentytwo = new Twentytwo();
//				twentytwo.dispose();
			} catch (ConstructionException e) {
				System.out.println("TwentyTwo constructor failed.");
			}finally{
				twentythree.dispose();
			}
		} catch (ConstructionException e) {
			e.printStackTrace();
		}
	}
}
